#include <stdio.h>

void *MyStrcpy(char *dest, const char *src)
{
    while(*src != '\0')
    {
        *dest++ = *src++;
    }
    *dest = '\0';
}

int main()
{
    char dest[] = {0};
    char src[5]= "hello";
    MyStrcpy(dest,src);
    printf("%s\n",dest);
    return 0;
}